<template>
  <div>
    <el-table
        :data="tableData"
        style="width: 100%"
        height="250">
      <el-table-column
          fixed
          prop="job"
          label="部门"
          width="150">
      </el-table-column>
      <el-table-column
          prop="name"
          label="姓名"
          width="120">
      </el-table-column>
      <el-table-column
          prop="gender"
          label="性别"
          width="120">
      </el-table-column>
      <el-table-column
          prop="age"
          label="年龄"
          width="120">
      </el-table-column>
      <el-table-column
          prop="phone"
          label="联系电话"
          width="300">
      </el-table-column>
      <el-table-column
          prop="email"
          label="联系邮箱"
          width="150">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name:'EmployeeList',
  data() {
    return {
      tableData: [{
        job: 'NFV平台组',
        name: '王小虎',
        gender: '男',
        age: 28,
        phone: 147258,
        email: 'nfvwxh@sy.com'
      }, {
        job: 'NFV产品',
        name: '李狗蛋',
        gender: '男',
        age: 24,
        phone: 741369,
        email: 'nfvlgd@sy.com'
      }, {
        job: 'SDN平台组',
        name: '张二妮',
        gender: '女',
        age: 22,
        phone: 85236,
        email: 'sdnzen@sy.com'
      }, {
        job: '运维组',
        name: '马小跳',
        gender:'男',
        age: 24,
        phone: 52482,
        email: 'ywmxt@sy.com'
      }, {
        job: '专网平台组',
        name: '连三妹',
        gender: '女',
        age: 30,
        phone: 985314,
        email: 'zwlsm@sy.com'
      }, {
        job: 'SDN运维平台组',
        name: '孙二娘',
        gender: '女',
        age: 55,
        phone: 843120,
        email:'sdnsen@sy.com'
      }, {
        job: 'NFV产品组',
        name: '张三丰',
        gender: '男',
        age: 51,
        phone: 851463,
        email: 'nfvzsf@sy.com'
      }]
    }
  }
}
</script>

<style scoped>
div{
  margin-top: 15px;
  margin-left: 20px;
  width: 1000px;
}
</style>